import request from "@/utils/request";

export function itemList(data) {
    return request({
        url: '/item/list',
        method: 'post',
        data
    })
}

export function itemAdd(data) {
    return request({
        url: '/item/add',
        method: 'post',
        data
    })
}

export function itemDelete(data) {
    return request({
        url: '/item/delete',
        method: 'post',
        data
    })
}

export function itemEdit(data) {
    return request({
        url: '/item/edit',
        method: 'post',
        data
    })
}

export function itemSelect(data) {
    return request({
        url: '/item/select',
        method: 'post',
        data
    })
}
